<template>
  <div class="container">
    <router-view></router-view>
    <router-view name="footer"></router-view>
  </div>
</template>
<style lang="scss">
*{
  padding: 0;
  margin: 0;
  list-style: none;
}
html,body,#app,.container{
  width: 100%;
  height: 100%;
}
.container{
  display: flex;
  flex-direction: column;
  background: #efefef;
  .box{
    flex: 1;
    overflow: auto;
    display: flex;
    flex-direction: column;
    .header{
      height: 60px;
    }
    .content{
      flex: 1;
      overflow: auto;
    }
  }
  .footer{
    height: 50px;
    ul{
      background: #fff;
      width: 100%;
      height: 100%;
      display: flex;
      justify-content:space-evenly;
      align-items: center;
      a{
        color: #000;
        &.router-link-active
        {
          color: red;
        }
      }
    }
  }
}
</style>
